<%@ include file="/WEB-INF/html/skillManagement/common/init.jsp" %>

<%
String tabs1 = ParamUtil.get(request, "tabs1", "categories");
String tabs1Values = "categories,skill";
String tabs1Names = tabs1Values;

PortletURL tabs1URL = renderResponse.createRenderURL();
tabs1URL.setParameter("struts.portlet.action", "/view/view");
tabs1URL.setParameter(WebKeys.TABS1_PARAM, tabs1);

%> 
<liferay-ui:tabs
	names="<%= tabs1Names %>"
	tabsValues="<%= tabs1Values %>"
	portletURL="<%= tabs1URL %>"
/>

<c:choose>
	<c:when test="<%= "categories".equals(tabs1) %>">
		<%@ include file="/WEB-INF/html/skillManagement/control_panel/categories.jspf" %>
	</c:when>
	<c:when test="<%= "skills".equals(tabs1) %>">
		<%@ include file="/WEB-INF/html/skillManagement/control_panel/skills.jspf" %>
	</c:when>
</c:choose>